//对用户相关信息的封装
import { request } from "@/utils";

//获取token
export const getTokenAPI=(valus)=>{
    return request.post('/authorizations',valus)
}

//获取用户详细信息
export const  getUserInfoAPI = ()=>{
    return request.get('/user/profile')
}